<ion-view id="payhistory" view-title="支付记录查询" cache-view="false" align-title="center" hide-tabs>
    <!-- 申请额度-页眉 -->
    <div class="bar bar-header assertive-bg">
        <h1 class="title light">支付记录查询</h1>
    </div>
    <ion-content class="has-header  scroll-content">
        <div class="polling-time">
            <p>
                <span>开始时间</span>
                <input type="text" ng-click="start()" ng-model="starttime">
                <span>结束时间</span>
                <input type="text" ng-click="end()" ng-model="endtimer">
                <span class="soubg" ng-click="checkhistory()"></span>
            </p>
        </div>
        <div class="paycontent">
            <div class="pay-message" ng-repeat="arr in arrlist">
                <table>
                    <tr>
                        <td class="letter1">付款方</td>
                        <td>{{arr[1].acctName}}</td>
                    </tr>
                    <tr>
                        <td class="letter1">收款方</td>
                        <td>{{arr[2].acctName}}</td>
                    </tr>
                    <tr>
                        <td>交易时间</td>
                        <td>{{arr[0].createOn.year+1900}}-{{arr[0].createOn.month}}-{{arr[0].createOn.date}}</td>
                    </tr>
                    <tr>
                        <td class="letter2">状态</td>
                        <td style="color:red">{{states(arr[0].status)}}</td>
                    </tr>
                    <tr>
                        <td>交易金额</td>
                        <td>{{arr[0].amount}}</td>
                    </tr>
                </table>
            </div>

        </div>

    </ion-content>

</ion-view>
